import Table from './table'
import Pagination from './pagination'
import Pagelist from './pagelist'
import Emojis from './emojis'
import Search from './search'
import Icon from './IconFont'
const components = [Table, Pagination, Pagelist, Emojis, Search, Icon]

const install = function (Vue, opts = {}) {
  components.forEach((component) => {
    Vue.component(component.name, component)
  })
}
/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue)
}

export default {
  version: '0.0.1',
  install,
}
